	<!DOCTYPE html>
<html lang="zh-Hans">
	<head>
		<!--[if lt IE 9]>
        	<style>body {display: none; background: none !important} </style>
        	<meta http-equiv="Refresh" Content="0; url=//outdatedbrowser.com/" />
    	<![endif]-->

		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<meta name="format-detection" content="telephone=no" />
		<meta name="author" content="Shawn" />
		<meta name="baidu-site-verification" content="nubDqvs6hs" />
    	<meta name="google-site-verification" content="7BKqWmtziAfuISO3py0ZSSxB3fiZfNWOJORrtYqTl-E" />

		<link rel="apple-touch-icon" href="http://og6esej9r.bkt.clouddn.com/me-0.JPG">
		<link rel="alternate" href="/atom.xml" title="诗酒趁年华" type="application/atom+xml">
		<link rel="shortcut icon" href="/img/me.JPG">
		<link href="//cdn.bootcss.com/animate.css/3.5.1/animate.min.css" rel="stylesheet">
		<link href="//cdn.bootcss.com/fancybox/2.1.5/jquery.fancybox.min.css" rel="stylesheet">
		<script src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
    	<link href="//cdn.bootcss.com/pace/1.0.2/themes/blue/pace-theme-loading-bar.css" rel="stylesheet">
		<link rel="stylesheet" href="/css/style.css">
		
		<style> .article { opacity: 0;} </style>

		<link href="//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
		
		<title>诗酒趁年华</title>

		<script src="//cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
		<script src="//cdn.bootcss.com/clipboard.js/1.5.10/clipboard.min.js"></script>
		<!--<script src="/js/huaji.js"></script>-->
		
		<script src="/js/APlayer.min.js"></script>
		<script src="/js/canvas.js"></script>
  		<script src="/js/leftmusic.js"></script>
  		<script src="/js/jquery.marquee.min.js"></script>
  		<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
		
		 
		<!-- Live2D Library -->
        <script src="/js/live2d.min.js"></script>        
        <!-- Live2D Framework -->
        <script src="/js/Live2DFramework.js"></script>
        <!-- User's Script -->
    	<script src="/js/utils/MatrixStack.js"></script>
        <script src="/js/utils/ModelSettingJson.js"></script>
        <script src="/js/PlatformManager.js"></script>
        <script src="/js/LAppDefine.js"></script>
        <script src="/js/LAppModel.js"></script>
        <script src="/js/LAppLive2DManager.js"></script>
        <script src="/js/22.js"></script>	
         		        
	
		<script>
  			var yiliaConfig = {
     	   		fancybox: true,
        		animate: true,
        		isHome: true,
        		isPost: false,
        		isArchive: false,
        		isTag: false,
        		isCategory: false,
        		fancybox_js: "//cdn.bootcss.com/fancybox/2.1.5/jquery.fancybox.min.js",
        		scrollreveal: "//cdn.bootcss.com/scrollReveal.js/3.1.4/scrollreveal.min.js",
        		search: true
    		}
		</script>
		
		
		
		<script>
        	yiliaConfig.jquery_ui = [true, "//cdn.bootcss.com/jqueryui/1.10.4/jquery-ui.min.js", "//cdn.bootcss.com/jqueryui/1.10.4/css/jquery-ui.min.css"];
    	</script>
		

		<script> yiliaConfig.rootUrl = "\/";</script>	
		

		
	</head>

	 
		<body onload="ThisIs22()">
	
  		<div id="container">
    		<div class="left-col">
    			<div class="overlay"></div>
    			<div class="intrude-less">
	    			<header id="header" class="inner">
            			<a href="/" class="profilepic">
                			<img src="/img/me.JPG" class="animated zoomIn">
            			</a>
            			<hgroup>
              				<h1 class="header-author" style="width:100%"><a href="/">Shawn</a></h1>
            			</hgroup>
            			<p class="header-subtitle">一个喜欢捣鼓前端的产品汪。<br/>总字数：<span class="post-count" style="font-weight: bold;font-family: Arial, Helvetica, "宋体";color: black;">17.8k</span></p>

            			<form id="search-form"> <!-- 搜索框相关 -->
    			    		<input type="text" id="local-search-input" name="q" results="0" placeholder="" class="search form-control" autocomplete="off" autocorrect="off"/>
   				    		<i class="fa fa-times" onclick="resetSearch()"></i> <!-- 清空/重置搜索框 -->
			    		</form>
			    		<div id="local-search-result"></div> <!-- 搜索结果区 -->
			    		<p class='no-result'>啊哦。。。<br/>没有符合条件的文章。。。<br/>∠( ᐛ 」∠)＿</p> <!-- 无匹配时显示，注意请在 CSS 中设置默认隐藏 -->
            			
            			<div id="switch-area" class="switch-area">
    			            <div class="switch-wrap">
    			                <section class="switch-part switch-part1">
    			                    <nav class="header-menu">
    			                    	<a href="/" title="回到首页"><i class="fa fa-home"></i></a>
    			                    	<a href="/archives/" title="文章归档"><i class="fa fa-archives"></i></a>
    			                    	<a href="/tags/" title="标签/分类"><i class="fa fa-tags"></i></a>
    			                    	<a href="/photoes/" title="照片/壁纸"><i class="fa fa-photo"></i></a>
    			                    	<a href="/friends/" title="友情链接"><i class="fa fa-links"></i></a>
    			                    	<a href="/about/" title="关于我/留言板"><i class="fa fa-about"></i></a>
    			                    	<a href="/download/" title="相关下载"><i class="fa fa-download"></i></a>
    									<a class="set-view-mode" href="javascript:void(0)" title="夜间模式"><i class="fa fa-moon-o"></i></a>
    			                    </nav>
    			                </section>   
    			                <section class="switch-part switch-part2">
    			                    <div class="widget tagcloud" id="js-tagcloud">
    			                        <ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/2017/">2017</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/CDN/">CDN</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/DFS/">DFS</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Github/">Github</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/HTML5/">HTML5</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Hexo/">Hexo</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/JavaScript/">JavaScript</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/PS/">PS</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/SSL/">SSL</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/flag/">flag</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/https/">https</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/localStorage/">localStorage</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/nginx/">nginx</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/sessionStorage/">sessionStorage</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/夜间模式/">夜间模式</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/影评/">影评</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/文档/">文档</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/服务学/">服务学</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/编译原理/">编译原理</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/随笔/">随笔</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/项目管理/">项目管理</a></li></ul>
    			                    </div>
    			                </section>
    			                
    			                            
 			            	</div>
 			            	<div class="marquee"><script type="text/javascript" src="https://api.lwl12.com/hitokoto/main/get?encode=js&charset=utf-8"></script><div id="lwlhitokoto"><script>lwlhitokoto()</script></div></div><script>$('.marquee').marquee();</script>
    			        </div>
    			    </header>   
    			</div>
    			       
    		</div>
    		 
    			<script src="//cdn.bootcss.com/jqueryui/1.10.4/jquery-ui.min.js"></script>
    			<script src="/js/move.js"></script>
    			<div id="movediv"> 
        			<canvas id="glcanvas" width="170" height="200"> <button id="btnChange" class="active" style="visibility:hidden;width=10px!important;">C</button></canvas>
    			</div>
    		
    		<div class="xm"><img src="/img/xm.png"></div>
    		<div class="mid-col">
    			<nav id="mobile-nav">
      <div class="overlay">
          <div class="slider-trigger"></div>
          <h1 class="header-author js-mobile-header hide"><a href="/" title="回到主页">Shawn</a></h1>
      </div>
    <div class="intrude-less">
        <header id="header" class="inner">
            <a href="/" class="profilepic">
                <img src="/img/me.JPG" class="animated zoomIn">
            </a>
            <hgroup>
              <h1 class="header-author"><a href="/" title="回到主页">Shawn</a></h1>
            </hgroup>
            
            <p class="header-subtitle"><span class="post-count">一个喜欢捣鼓前端的产品汪。<br/>总字数：17.8k</span></p>
            
            <nav class="header-menu">
            	<div>
    			<a href="/" title="回到首页"><i class="fa fa-home"></i></a>
    			<a href="/archives/" title="文章归档"><i class="fa fa-archives"></i></a>
    			<a href="/tags/" title="标签/分类"><i class="fa fa-tags"></i></a>
    			<a href="/photoes/" title="照片/壁纸"><i class="fa fa-photo"></i></a>
    			<a href="/friends/" title="友情链接"><i class="fa fa-links"></i></a>
    			</div>
    			<div>
    			<a href="/about/" title="关于我/留言板"><i class="fa fa-about"></i></a>
    			<a href="/download/" title="相关下载"><i class="fa fa-download"></i></a>
    			<a class="set-view-mode" href="javascript:void(0)" title="夜间模式"><i class="fa fa-moon-o"></i></a>
    			</div>
    		</nav><br/><br/><br/>
        </header>                
    </div>
    <link class="menu-list" tags="标签" friends="友情链接" about="关于我"/>
</nav>
      			<div class="body-wrap">
  
    <article id="post-StopHexo" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2017/04/14/StopHexo/" class="article-date">
      <time datetime="2017-04-14T11:59:10.000Z" itemprop="datePublished">2017-04-14</time>
</a>

 
    <a href="/2017/04/14/StopHexo/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2017/04/14/StopHexo/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/04/14/StopHexo/">停止更新</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
        <p><span class="suojin"></span>打算重新搬迁至WordPress，真的感觉自己在作死，重新挂到coding pages上。。。</p>
<p><span class="suojin"></span>这个博客就此停止更新了，但是也舍不得就这样弃掉，就挂在coding pages上吧~</p>

      
    </div>
    
    <div class="article-info article-info-index">
      
      

      
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-Https" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2017/01/30/Https/" class="article-date">
      <time datetime="2017-01-30T06:31:46.000Z" itemprop="datePublished">2017-01-30</time>
</a>

 
    <a href="/2017/01/30/Https/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2017/01/30/Https/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/01/30/Https/">腾讯云Centos7启用https</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <p><span class="suojin"></span>很久以前就看到各位大佬们开始使用了https，自己也心痒难耐，终于今天有空做了下。<br><span class="suojin"></span>在各大巨头（比如Google、Apple）的鼓励与资磁下，越来越多的网站开始启用了https，而且我认为未来的互联网基本会是https的天下，毕竟https的成本也不是很高，也有不少免费的SSL证书，比如腾讯云免费SSL证书、七牛云SSL证书等。另外，https还有个额外的好处，对SEO更加友好（滑稽脸）。</p>
          
      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/教程/">教程</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SSL/">SSL</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/https/">https</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/nginx/">nginx</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a href="/2017/01/30/Https/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-AddBaiduCDN" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2017/01/25/AddBaiduCDN/" class="article-date">
      <time datetime="2017-01-25T05:11:44.000Z" itemprop="datePublished">2017-01-25</time>
</a>

 
    <a href="/2017/01/25/AddBaiduCDN/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2017/01/25/AddBaiduCDN/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/01/25/AddBaiduCDN/">给自己的博客添加CDN加速</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <p><span class="suojin"></span>前一阵子在访问<a href="http://03k.org">kissshot</a>的博客的时候发现他开了CDN加速，亲测速度不错，于是自己也想抽空做下，奈何智障，绕了点弯子，做完发现其实真的很简单，就顺便记录下……orz</p>
          
      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/教程/">教程</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/CDN/">CDN</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a href="/2017/01/25/AddBaiduCDN/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-NightMode" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2017/01/18/NightMode/" class="article-date">
      <time datetime="2017-01-18T04:32:16.000Z" itemprop="datePublished">2017-01-18</time>
</a>

 
    <a href="/2017/01/18/NightMode/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2017/01/18/NightMode/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/01/18/NightMode/">给自己的主题添加夜间模式</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <blockquote>
<p>2017年1月26日3点更新orz：在<a href="http://www.theask.cn">THEASK该问</a>童鞋的努力下真正实现了WordPress的COOKIES功能（然后我俩发现hexo只能在单页面生效，如果使用WordPress的童鞋请转<a href="http://www.theask.cn/4291">他的博客相关页面</a>），全局生效，记录时间可修改，并且在教程最后提供了所需的JS文件和CSS样式表下载。下面是自己好不容易摸索到的hexo多页面使用夜间模式的方法orz。</p>
</blockquote>
<p><span class="suojin"></span>我第一次发这篇文章的时候第一段是这么写的：<hr/><span class="suojin"></span>很久之前在<a href="http://minwenlsm.pw/">Min’s</a>的博客发现了夜间模式的功能，自己也想抽空做下，终于在寒假初实现了此功能，下面贴下相关代码：</p>
<p><span class="suojin"></span>首先修改夜间模式的按钮：</p>
<figure class="highlight html"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line"><span class="tag">&lt;<span class="name">a</span> <span class="attr">class</span>=<span class="string">"set-view-mode"</span> <span class="attr">href</span>=<span class="string">"javascript:void(0)"</span> <span class="attr">title</span>=<span class="string">"夜间模式"</span>&gt;</span><span class="tag">&lt;<span class="name">i</span> <span class="attr">class</span>=<span class="string">"fa fa-moon-o"</span>&gt;</span><span class="tag">&lt;/<span class="name">i</span>&gt;</span><span class="tag">&lt;/<span class="name">a</span>&gt;</span></div></pre></td></tr></table></figure>
          
      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/教程/">教程</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/HTML5/">HTML5</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/">JavaScript</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/localStorage/">localStorage</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/sessionStorage/">sessionStorage</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/夜间模式/">夜间模式</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a href="/2017/01/18/NightMode/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-2017hanjiaplan" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2017/01/13/2017hanjiaplan/" class="article-date">
      <time datetime="2017-01-13T07:45:00.000Z" itemprop="datePublished">2017-01-13</time>
</a>

 
    <a href="/2017/01/13/2017hanjiaplan/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2017/01/13/2017hanjiaplan/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/01/13/2017hanjiaplan/">2017寒假计划get√！</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <p><span class="suojin"></span>随着大三上最后一门考试——项目管理 的结束，大三上学期可以算是结束了，这学期既有收获，也有失败，不过有得就有失，自己开心就好~终于放寒假了，在此继续开始立flag，希望寒假能够完成以下目标，寒假期间会逐步更改进度，希望能够都完成吧……<br>
          
      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/计划/">计划</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/2017/">2017</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/flag/">flag</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a href="/2017/01/13/2017hanjiaplan/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-PSPic" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2017/01/13/PSPic/" class="article-date">
      <time datetime="2017-01-13T07:17:00.000Z" itemprop="datePublished">2017-01-13</time>
</a>

 
    <a href="/2017/01/13/PSPic/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2017/01/13/PSPic/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/01/13/PSPic/">使用PS压缩背景图</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <p><span class="suojin"></span>本主题现在的背景为多张图片随机选择，为了加快网站加载速度，对图片进行压缩就显得很有必要。</p>
          
      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/教程/">教程</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PS/">PS</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a href="/2017/01/13/PSPic/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-Algorithm-homework" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2017/01/10/Algorithm-homework/" class="article-date">
      <time datetime="2017-01-10T06:30:48.000Z" itemprop="datePublished">2017-01-10</time>
</a>

 
    <a href="/2017/01/10/Algorithm-homework/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2017/01/10/Algorithm-homework/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/01/10/Algorithm-homework/">算法设计与分析——突破O(m)时间复杂度限制的无向图动态深度优先算法</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <p><style><br>    table{width:90%;margin:0 auto;};<br></style><br>算法设计与分析课程论文，虽然写到最后也没看明白那论文写的是啥……</p>
<hr>
<p style="text-align:right">SODA 2016, Dynamic DFS in Undirected Graphs: breaking the O(m) barrier</p>

<h2 id="论文概述"><a href="#论文概述" class="headerlink" title="论文概述"></a>论文概述</h2><h3 id="文章概要"><a href="#文章概要" class="headerlink" title="文章概要"></a>文章概要</h3><p><span style="padding-left:2em;"></span>本文主要解决了无向图的动态遍历问题，使用动态深度优先搜索算法解决此问题。深度优先搜索算法（$DFS, Depth\ First\ Search$）是一种著名的图的遍历算法，在许多基本的图论问题中起到了至关重要的作用。本文简单的介绍了$DFS$树的相关知识，并详细的给出了动态$DFS$的算法，通过静态$DFS$、动态$DFS$算法的对比证明了动态$DFS$的正确性，展现了动态$DFS$的优越性。<br>
          
      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/算法/">算法</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/DFS/">DFS</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a href="/2017/01/10/Algorithm-homework/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-Hi2017" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2016/12/31/Hi2017/" class="article-date">
      <time datetime="2016-12-31T14:00:47.000Z" itemprop="datePublished">2016-12-31</time>
</a>

 
    <a href="/2016/12/31/Hi2017/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2016/12/31/Hi2017/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2016/12/31/Hi2017/">2017新年快乐！</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <p><style><br>@media screen and (max-width:800px) {<br>  .erlingyiqi {<br>    width:100%;<br>  }<br>}<br></style></p>
<p><div style="text-align:center;width:100%"><img class="erlingyiqi" src="http://pictures.shawnzeng.com/hi2017.png" width="50%"></div><span class="suojin"></span>现在是2016年12月31日22:00，再过2个小时就是2017年啦(￣.￣)
          
      
    </div>
    
    <div class="article-info article-info-index">
      
      

      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/2017/">2017</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a href="/2016/12/31/Hi2017/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-HuaJi" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2016/12/30/HuaJi/" class="article-date">
      <time datetime="2016-12-29T16:52:38.000Z" itemprop="datePublished">2016-12-30</time>
</a>

 
    <a href="/2016/12/30/HuaJi/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2016/12/30/HuaJi/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2016/12/30/HuaJi/">滑稽大盗</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
        <p>半夜在<a href="http://blog.thkira.com/" target="_blank" rel="external">@兰陵の废宅基地</a>看到一个有趣的东西，顺手就抓了过来。效果嘛，你们看得到的（滑稽脸）</p>
<figure class="highlight html"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div></pre></td><td class="code"><pre><div class="line"><span class="tag">&lt;<span class="name">style</span>&gt;</span><span class="css"></span></div><div class="line">    <span class="selector-id">#wsj</span>&#123;<span class="attribute">display</span>: block;<span class="attribute">position</span>: absolute;<span class="attribute">z-index</span>: <span class="number">999</span>;<span class="attribute">left</span>: -<span class="number">158px</span>;<span class="attribute">top</span>: <span class="number">350px</span>;&#125;</div><div class="line">    @<span class="keyword">media</span> screen and (max-width: <span class="number">700px</span>)&#123;<span class="selector-id">#wsj</span>&#123;<span class="attribute">display</span>: none;&#125;&#125;</div><div class="line">    <span class="selector-tag">body</span>&#123;<span class="attribute">overflow-x</span>:hidden;&#125;</div><div class="line"><span class="tag">&lt;/<span class="name">style</span>&gt;</span></div><div class="line"><span class="tag">&lt;<span class="name">script</span>&gt;</span><span class="javascript"></span></div><div class="line"> <span class="keyword">var</span> wsjimg=<span class="keyword">new</span> Image();</div><div class="line"> wsjimg.src=<span class="string">"http://og6esej9r.bkt.clouddn.com/realhuaji.png"</span>;</div><div class="line"> wsjimg.id=<span class="string">"wsj"</span>;</div><div class="line"> wsjimg.onload=<span class="function"><span class="keyword">function</span>  (<span class="params"></span>) </span>&#123;</div><div class="line"> <span class="built_in">document</span>.body.appendChild(wsjimg);</div><div class="line"> <span class="built_in">window</span>.setTimeout(<span class="string">"wsja()"</span>,<span class="number">1000</span>);</div><div class="line"> <span class="built_in">window</span>.setInterval(<span class="string">"wsja()"</span>, <span class="number">4000</span>);</div><div class="line"> &#125;</div><div class="line"> <span class="function"><span class="keyword">function</span> <span class="title">wsja</span> (<span class="params"></span>) </span>&#123;</div><div class="line"> <span class="keyword">if</span> (<span class="built_in">parseInt</span>($(<span class="string">"#wsj"</span>).css(<span class="string">"left"</span>),<span class="number">10</span>)&lt;<span class="number">0</span>) &#123;</div><div class="line"> $(<span class="string">"#wsj"</span>).css(&#123;<span class="string">"top"</span>:<span class="built_in">window</span>.scrollY+<span class="number">250</span>+<span class="string">"px"</span>,<span class="string">"transform"</span>:<span class="string">"scalex(1)"</span>,<span class="string">"transition"</span>:<span class="string">"all 0s"</span>&#125;);</div><div class="line"> $(<span class="string">"#wsj"</span>).css(&#123;<span class="attr">left</span>:<span class="string">"1920px"</span>,<span class="attr">top</span>:<span class="built_in">window</span>.scrollY+<span class="number">50</span>+<span class="string">"px"</span>,<span class="string">"transition"</span>:<span class="string">"all 1.0s"</span>&#125;);</div><div class="line"> &#125;;</div><div class="line"> <span class="keyword">if</span> (<span class="built_in">parseInt</span>($(<span class="string">"#wsj"</span>).css(<span class="string">"left"</span>),<span class="number">10</span>)&gt;=<span class="number">1920</span>) &#123;</div><div class="line"> $(<span class="string">"#wsj"</span>).css(&#123;<span class="string">"top"</span>:<span class="built_in">window</span>.scrollY+<span class="number">250</span>+<span class="string">"px"</span>,<span class="string">"transform"</span>:<span class="string">"scalex(-1)"</span>,<span class="string">"transition"</span>:<span class="string">"all 0s"</span>&#125;);</div><div class="line"> $(<span class="string">"#wsj"</span>).css(&#123;<span class="attr">left</span>:<span class="string">"-158px"</span>,<span class="attr">top</span>:<span class="built_in">window</span>.scrollY+<span class="number">50</span>+<span class="string">"px"</span>,<span class="string">"transition"</span>:<span class="string">"all 1.0s"</span>&#125;);</div><div class="line"> &#125;;</div><div class="line"> &#125;</div><div class="line"><span class="tag">&lt;/<span class="name">script</span>&gt;</span></div></pre></td></tr></table></figure>
<blockquote>
<p>需要事先引入jQuery包。</p>
</blockquote>

      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/教程/">教程</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/">JavaScript</a></li></ul>
    </div>

      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
    <article id="post-Serviceology02" class="article article-type-post" itemscope itemprop="blogPost">
  
    <div class="article-meta">
      <a href="/2016/12/27/Serviceology02/" class="article-date">
      <time datetime="2016-12-27T09:43:31.000Z" itemprop="datePublished">2016-12-27</time>
</a>

 
    <a href="/2016/12/27/Serviceology02/#comments" title="查看评论">
        <i class="fa fa-comments-o" aria-hidden="true"></i>
        <span class="count-comment"></span>
        
        
            <span class="ds-thread-count"  data-thread-key="2016/12/27/Serviceology02/" ></span>
        
        
    </a>

    </div>
  
  <div class="article-inner">
    
      <input type="hidden" class="isFancy" />
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2016/12/27/Serviceology02/">服务学作业——堆糖电商服务建模</a>
    </h1>
  

      </header>
      
    
    <div class="article-entry" itemprop="articleBody">
      
          
              <ol>
<li><p><strong>堆糖简介</strong><br><span class="suojin"></span>堆糖成立于2010年10月，其口号是“分享收集生活中的美好，遇见世界上的另外一个你”，主题是发现并收集喜爱的事物，以图片的方式来展示和浏览。其目标是链接人的兴趣和事物，重新组织信息流动的方式。它提供超快捷的图文收集工具，一键手机分享兴趣，还有各种兴趣主题小组，我们可以在上面轻易地找到日常生活中难以遇到的、跟自己兴趣相投的好朋友，也可以利用堆糖手机网络上自己喜欢的图片或商品，保存自己的设计灵感，计划自己的旅行，准备自己的换季购物清单……</p>
          
      
    </div>
    
    <div class="article-info article-info-index">
      
      
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/学习/">学习</a>
    </div>


      
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/服务学/">服务学</a></li></ul>
    </div>

      
        <p class="article-more-link">
          <a href="/2016/12/27/Serviceology02/#more">阅读全文 >></a>
        </p>
      
      <div class="clearfix"></div>
    </div>
    
  </div>
  
  
  
</article>









  
  
    <nav id="page-nav">
      <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">Next &raquo;</a>
    </nav>
  
</div>
      			<footer id="footer">
    <div class="outer">
        <div id="footer-info">
            <div class="footer-left">
                <i class="fa fa-copyright"></i> 
                2016-2017 <i class="fa fa-heart animated infinite pulse"></i> Shawn <a href="http://www.miitbeian.gov.cn">黑ICP备17000197号-1</a>
            </div>
            <div class="footer-right">
            	<span class="my-face">(●'◡'●)ﾉ</span>
				<span id="span_dt_dt"></span>
            </div>
        </div>
        
            <div class="visit">
                
                    <span id="busuanzi_container_site_pv" style='display:none'>
                        <span id="site-visit" title="本站到访数"><i class="fa fa-user" aria-hidden="true"></i><span id="busuanzi_value_site_uv"></span>
                        </span>
                    </span>
                
                
                    <span>| </span>
                
                
                    <span id="busuanzi_container_page_pv" style='display:none'>
                        <span id="page-visit"  title="本页阅读量"><i class="fa fa-eye animated infinite pulse" aria-hidden="true"></i><span id="busuanzi_value_page_pv"></span>
                        </span>
                    </span>
                
            </div>
        
    </div>
</footer>

    		</div>
    		<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>


    <script src="/js/raphael.js"></script>
    <script src="/js/underscore.js"></script>
    <script src="/js/sequence-diagram.js"></script>
    <script src="/js/flowchart.js"></script>
    
<!-- Chart Render -->
<script type="text/javascript">
  $(".sequence").sequenceDiagram({theme: 'simple'});
  var flowCount = 0;
  $(".flow").each(function() {
      var el = $(this);
      el.hide();
      el.after('<div id="flow-' + flowCount + '"></div>');
      var chart = flowchart.parse(el.text());
      chart.drawSVG('flow-' + flowCount);
      flowCount++;
  });
</script>
<!-- End Chart Render -->


<script data-main="/js/main.js" src="//cdn.bootcss.com/require.js/2.2.0/require.min.js"></script>

    <script>
        $(document).ready(function() {
            var iPad = window.navigator.userAgent.indexOf('iPad');
            if (iPad > -1 || $(".left-col").css("display") === "none") {
                var bgColorList = ["#9db3f4", "#414141", "#e5a859", "#f5dfc6", "#c084a0", "#847e72", "#cd8390", "#996731"];
                var bgColor = Math.ceil(Math.random() * (bgColorList.length - 1));
                $("body").css({"background-color": bgColorList[bgColor], "background-size": "cover"});
            }
            else {
                var backgroundnum = 5;
                var backgroundimg = "url(/background/bg-x.jpg)".replace(/x/gi, Math.ceil(Math.random() * backgroundnum));
                $("body").css({"background": backgroundimg, "background-attachment": "fixed", "background-size": "cover"});
            }
        })
    </script>


    
        <script>
            if ($(".left-col").is(":visible")) {
                var duoshuoQuery = {short_name:"zengshuai1996"};
                (function() {
                    var d = document, s = d.createElement('script');
                    s.src = '//static.duoshuo.com/embed.js';
                    s.async = true; s.charset = 'UTF-8';
                    (d.head || d.body).appendChild(s);
                })();

                $(document).ready(function(){
                    var $duoshuoCount = $(".ds-thread-count");
                    $duoshuoCount.bind("DOMNodeInserted", function(e) {
                        var num = $(this).text().replace(/[^0-9]/ig,"");
                        $(this).siblings(".count-comment").text(num);
                        $(this).remove();
                    })
                })
            }
        </script>
    

     




    <script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {
    inlineMath: [['$','$']],
    processEscapes: true,
    skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'],
	linebreaks: { automatic: true, width: "container" }
  }
});

MathJax.Hub.Queue(function() {
    var all = MathJax.Hub.getAllJax(), i;
    for(i=0; i < all.length; i += 1) {
        all[i].SourceElement().parentNode.className += ' has-jax';                 
    }       
});
</script>

<!--script type="text/javascript" src="http://mathjax.josephjctang.com/MathJax.js?config=TeX-MML-AM_HTMLorMML"-->
<!--script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"-->
<script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_HTMLorMML">
</script>


<div class="scroll" id="scroll">
    <a href="#" title="返回顶部"><i class="fa fa-arrow-up"></i></a>
    <a href="#comments" onclick="load$hide();" title="查看评论"><i class="fa fa-comments-o"></i></a>
    <a href="#footer" title="转到底部"><i class="fa fa-arrow-down"></i></a>
</div>
<script>
    // Open in New Window
    
        var oOpenInNew = {
            
            
            
            
            
            
            
             miniArchives: "a.post-list-link", 
            
             friends: "#js-friends a", 
             socail: ".social a" 
        }
        for (var x in oOpenInNew) {
            $(oOpenInNew[x]).attr("target", "_blank");
        }
    
</script>

    <script>
        var originTitle = document.title;
        var titleTime;
        document.addEventListener("visibilitychange", function() {
            if (document.hidden) {
                document.title = "(つェ⊂)" + originTitle;
                clearTimeout(titleTime);
            }
            else {
                document.title = "(*´∇｀*)" + originTitle;
                titleTime = setTimeout(function() {
                    document.title = originTitle;
                }, 2000);
            }
        })
    </script>

<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    		<div class="musicbox">
				<div class="player">
					<div id="player_bck" class="aplayer"></div>
				</div>
				<div class="pop-music" title="音乐"></div>
			</div>
  		</div>
  		<script src="/js/music.js"></script>
	</body>	
</html>